package org.robert.export_client.demo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.robert.export_client.aop.ExcelProperty;
import org.robert.export_client.excel.metadata.IBaseExcelJson;

import java.io.Serializable;

/**
 * @Description
 * @Author robert
 * @Date 2024/1/19 22:15
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode
public class JSONTest implements Serializable, IBaseExcelJson {

    @ExcelProperty(value = "性别")
    private String sex;

    @ExcelProperty(value = "字段1")
    private String question;

    @ExcelProperty(value = "字段2")
    private String question2;

    @ExcelProperty(value = "字段3", index = 8)
    private String question3;

}
